package com.epmis.epmis.pojo;

import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
public class MainPageResult implements Serializable {
    //判断结果
    private boolean success;
    //返回信息
    private String message;

    private double hour;

    private int missionnum;

    private int projectnum;

    private double missionfinish;

    private double missiondelay;

    private List<ProjectPage> projectPageList;

    public MainPageResult(boolean success, String message, double hour, int missionnum, int projectnum, double missionfinish, double missiondelay, List<ProjectPage> projectPageList) {
        this.success = success;
        this.message = message;
        this.hour = hour;
        this.missionnum = missionnum;
        this.projectnum = projectnum;
        this.missionfinish = missionfinish;
        this.missiondelay = missiondelay;
        this.projectPageList = projectPageList;
    }

    public MainPageResult() {
    }
}
